package com.ruoyi.recycle.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 家政服务对象 housekeeping
 *
 * @author Wubk
 * @date 2022-05-22
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class HousekeepingDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(name = "id", value = "家政服务id", dataType = "Long")
    private Long id;

    /**
     * 海报
     */
    @ApiModelProperty(name = "img", value = "海报", dataType = "String")
    private String img;

    /**
     * 名称
     */
    @ApiModelProperty(name = "name", value = "名称", dataType = "String")
    private String name;

    /**
     * 分类
     */
    @ApiModelProperty(name = "type", value = "分类", dataType = "String")
    private String type;

    /**
     * 积分
     */
    @ApiModelProperty(name = "integral", value = "积分", dataType = "Long")
    private Long integral;

    /**
     * 金额
     */
    @ApiModelProperty(name = "money", value = "金额", dataType = "BigDecimal")
    private BigDecimal money;

    /**
     * 服务详情
     */
    @ApiModelProperty(name = "detail", value = "服务详情", dataType = "String")
    private String detail;

    /**
     * 状态
     */
    @ApiModelProperty(name = "status", value = "状态", dataType = "String")
    private String status;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "createdBy", value = "创建人", dataType = "String")
    private String createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "searchTimeBegin", value = "起始搜索时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date searchTimeBegin;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "searchTimeEnd", value = "结束搜索时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date searchTimeEnd;

    /**
     * 更新人
     */
    @ApiModelProperty(name = "updatedBy", value = "更新人", dataType = "String")
    private String updatedBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "updatedTime", value = "更新时间", dataType = "Date", notes = "yyyy-MM-dd")
    private Date updatedTime;

    @ApiModelProperty(name = "currentPage", value = "当前页", dataType = "INT", notes = "默认值1")
    private Integer currentPage = 1;
    @ApiModelProperty(name = "pageSize", value = "页码", dataType = "INT", notes = "默认值10")
    private Integer pageSize = 10;
}
